import { useTreeApi } from '../context'
import { DefaultContainer } from './default-container'

export function TreeContainer() {
  const tree = useTreeApi()
  const Container = tree.props.renderContainer || DefaultContainer
  return (
    <>
      <Container />
    </>
  )
}
